/*@int*/(${input$entity} instanceof PlayerEntity ? ((PlayerEntity)${input$entity}).xpBarCap() : 0)